<?php
/**
 * Created by PhpStorm.
 * User: tengwei
 * Date: 2018/11/16
 * Time: 3:29 PM
 */

namespace common\sources\read\message;

interface  IMesgAccess
{
    /**
     * 获取短信验证码次数
     * @param $phone
     * @return mixed
     * @author Txl
    */
    public function getSms($phone);
    /**
     * 通过手机号码获取验证码
     * @param $phone
     * @param $sms_type
     * @return mixed
     * @author Txl
    **/
    public function getVerifyCode($phone,$sms_type);
}